package com.example.ruanshe3.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@lombok.Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("数据库字段")
public class review {
    @ApiModelProperty(value = "评论者ID", required = true, example = "1")
    private int reviewid;

    @ApiModelProperty(value = "个体类型", required = true, example = "0")
    private int type;

    @ApiModelProperty(value = "个体ID", required = true, example = "1")
    private int objectid;

    @ApiModelProperty(value = "ID", required = true, example = "1")
    private int id;

    @ApiModelProperty(value = "评论内容", required = true, example = "这是评论内容")
    private String content;

    @ApiModelProperty(value = "评论时间", required = true, example = "2024-6-10 16:58:00")
    private String reviewtime;

   
}
